package cn.sumpu.app.coolsk.dao;

import java.util.List;
import java.util.Map;

import cn.sumpu.app.coolsk.domain.Scenic;
import cn.sumpu.app.coolsk.exception.AppBusinessException;

public interface ScenicDao {
	public void insertScenic(Scenic scenic)throws AppBusinessException;
	
	public void updateScenic(Scenic scenic)throws AppBusinessException;
	
    public List<Scenic> getScenic(Map<String,Object> map)throws AppBusinessException;
	
	public int getScenicCount(Map<String,Object> map)throws AppBusinessException;
	
	public List<Scenic> searchScenic(Map<String,Object> map)throws AppBusinessException;
	
	public int searchScenicCount(Map<String,Object> map)throws AppBusinessException;
	
	public void delScenic(Map<String,Object> map)throws AppBusinessException;
	
	public double getScenicPriceMin(Map<String,Object> map)throws AppBusinessException;
}
